package guyubao.com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import guyubao.com.entity.dto.JDCertificateDto;
import guyubao.com.entity.vo.request.JDCertificateVoRequest;
import guyubao.com.entity.vo.response.JDCertificateVo;

public interface JDCertificateService extends IService<JDCertificateDto> {
    // 添加凭证
    String updateJDCertificate(String uId,String pt_key,String pt_token,String pt_pin);
    // 更新凭证
    String updateJDCertificate(JDCertificateVoRequest vo);
    //根据uid获取该账号凭证信息
    JDCertificateVo getJDCertificateProofBase(String uid);
    //根据uid获取该账号凭证信息
    JDCertificateDto getJDCertificateProof(String uid);
    //根据uid参试扣除一次账号
    String selfAttenuation(String uid);
    //根据uid修改账号状态
    String updateJDCertificateState(String uid);
}
